package com.wavehi.config_bind.pojo;

import lombok.*;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

/**
 * @Author WaveHi
 * @Date 2/11/2021 下午 7:45
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
//@Component
@ConfigurationProperties(prefix = "mycar")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Car {

    private String brand;
    private BigDecimal price;
}
